import { BizError } from "./BizError";

export class ErrorUtils {

    // 判断是否业务错误
    public static isBizError(err: any): err is BizError {
        return (err as BizError)?.isBizError;
    }
}